package com.example.aitoedu.service;

import com.example.aitoedu.dto.CreateCourseDTO;
import com.example.aitoedu.dto.MyStudentDTO;
import com.example.aitoedu.entity.Course;
import com.example.aitoedu.entity.Student;
import com.example.aitoedu.vo.CourseCreateVO;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
* @author 曹正豪
* @description 针对表【course(课程信息)】的数据库操作Service
* @createDate 2024-10-14 19:14:27
*/
public interface CourseService extends IService<Course> {

    List<Course> myCourse();


    CourseCreateVO createCourse(MultipartFile file, String cname) throws IOException;

    List<Student> myStudent(MyStudentDTO myStudentDTO);

    void deleteStudent(Long cid, Long sid);
}
